package www.ash.com;
import javax.swing.*;

/**
 * @description
 * @author : Chen Chao
 * @encoding : UTF-8
 * @date : 2021/9/30 16:32
 * @file : mySnake.www.ash.com.MySnake.java
 * @software : IntelliJ IDEA
 * @since : 1.8
 */
public class MyGame {
    public static void main(String[] args) {
        JFrame jFrame = new JFrame();
        jFrame.setBounds(600,100,700,900);
        jFrame.setResizable(false);
        jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        jFrame.add(new MyPanel());
        jFrame.setVisible(true);
    }
}
